package com.example.demo.entity;

import java.util.List;

/**
 * @Author: WinstonDeng
 * @Description:
 * @Date: Created in 18:10 2020/4/7
 * @Modified by:
 */
public class Questionnaire {
    private long id;
    private String desc;
    private int basicWarning;
    private int seriousWarning;
    private List<Question> questionList;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public int getBasicWarning() {
        return basicWarning;
    }

    public void setBasicWarning(int basicWarning) {
        this.basicWarning = basicWarning;
    }

    public int getSeriousWarning() {
        return seriousWarning;
    }

    public void setSeriousWarning(int seriousWarning) {
        this.seriousWarning = seriousWarning;
    }

    public List<Question> getQuestionList() {
        return questionList;
    }

    public void setQuestionList(List<Question> questionList) {
        this.questionList = questionList;
    }

    @Override
    public String toString() {
        return "Questionnaire{" +
                "id=" + id +
                ", desc='" + desc + '\'' +
                ", questionList=" + questionList +
                '}';
    }
}
